All Questions
Tagged with source-codejavascript
7 questions
-2votes
2answers
573views
How to find all occurrences of a variable within a source code?
The title is pretty self-explanatory. I have a minified JavaScript code (100k+ lines) and would like to find all occurrences of a particular variable so I could rename it to better understand code. Is ...
1vote
3answers
275views
What is the most readable way of passing arguments to the function? [closed]
I'm using JavaScript but the question can be generalized to all the languages. In a nutshell - I'm checking if a browser connecting to my site is a microwave and cater for that accordingly. What ...
0votes
1answer
548views
Licensing: source code vs. production code in JavaScript
For commercial and licensing purposes, what is the correct wording for differentiating JavaScript source code (written by the programmer and including comments) from the minified version used in ...
14votes
2answers
35kviews
How do you change how intellij auto formats code? [closed]
IntelliJ does some odd formatting with Javascript code and I am trying to figure out how to get it to stop formatting this way. Whenever I chain jQuery functions together, it over indents the auto ...
3votes
5answers
656views
View Source - is the Viewable markup important to you?
I just read a very compelling blog post from Scott Hanselman where he quoted colleague Erik Meijer as follows: JavaScript is an assembly language. The JavaScript + HTML generate is like a .NET ...
1vote
2answers
507views
Looking for quality sites built with JavaScript (not jQuery) to learn from their example [closed]
I'm new to JavaScript. I've read JavaScript: The Good Parts and half of Professional JavaScript for Web Developers. Now I want to follow this advice - find the best sites and look at their code. As ...
5votes
6answers
380views
Does my JavaScript look big in this?
As programmers, you have certain curtains to hide behind with your code. With PHP all of your code is server side preprocessed, so this never see's the light of day as far as the user is concerned. If ...